package cn.stylefeng.guns.dao.entity;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sales_stock_batch")
@ApiModel(value = "SalesStockBatch", description = "")
public class SalesStockBatch extends BusinessBaseEntity {
    @ApiModelProperty(value = "主键")
    @TableId(value = "sales_stock_batch_id", type = IdType.ASSIGN_ID)
    private String salesStockBatchId;
    @ApiModelProperty(value = "数量")
    private Integer num;
    @ApiModelProperty(value = "数量")
    private Integer testNum;
    @ApiModelProperty(value = "批次号")
    private String batchNo;
    @ApiModelProperty(value = "时间")
    private String time;
    @ApiModelProperty(value = "商品编码")
    private String proCode;
    @ApiModelProperty(value = "门店编码")
    private String stoCode;
    @ApiModelProperty(value = "供应商id")
    private String supplierId;
    @ApiModelProperty(value = "删除标记：Y-已删除，N-未删除")
    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @ChineseDescription("删除标记（Y-已删除，N-未删除）")
    @TableLogic(value = "N", delval = "Y")
    private String delFlag;

}
